MVC中使用RadioButtonFor
1 进行初始化 <%=Html.RadioButtonFor(model => model.TypeState, 0, new { @id = "radio2", @name = "rd ...
1 进行初始化 <%=Html.RadioButtonFor(model => model.TypeState, 0, new { @id = "radio2", @name = "rd ...
1 查找DropDownListFor要绑定的数据源 IEnumerable<NewsType> newsTypeList = (from m in db.NewsType select ...